package cn.itsource.hrm.contstants;

/**
 * 授权服务常量
 */
public class AuthConstants {
    //密码授权地址
    public static  final  String PASSWORD_AUTH_URL =
            "http://localhost:3010/services/auth/oauth/token?client_id=%s&client_secret=%s&grant_type=password&username=%s&password=%s";
    public static  final  String REFRESH_TOKEN_URL =
            "http://localhost:3010/services/auth/oauth/token?grant_type=refresh_token&refresh_token=%s&client_id=%s&client_secret=%s";


    //登录类型-后台登录
    public static  final  int LOGIN_TYPE_ADMIN = 0;
    //登录类型-用户登录
    public static  final  int LOGIN_TYPE_USER = 1;
}
